#library
#Link to Download the dataset https://platform.who.int/mortality/countries/country-details/MDB/luxembourg #Link to Download the dataset world https://platform.who.int/mortality/themes/theme-details/MDB/noncommunicable-diseases #https://ourworldindata.org/age-structure #Read the dataset and Tidy.
We want to see how the death rate varies over the years 1960 to 2021. We specifically select deaths for all age groups. During our analysis, we will notice the difference by gender.
## geom_path: Each group consists of only one observation. Do you need to adjust
## the group aesthetic?
## geom_path: Each group consists of only one observation. Do you need to adjust
## the group aesthetic?
We notice that in Luxembourg, the mortality rate was very high in 1960. because in Luxembourg there have been several epidemics that could affect lives. However, from 1960 to 2020, this rate has decreased. This makes sense, because Luxembourg has adopted more modern treatment methods.
We shall now analyze some major causes of mortality in luxembourg and how these causes have affected different age groups.
# A tibble: 193 × 2
Indicator_Name n
<chr> <int>
1 All Causes 2703
2 Appendicitis 2703
3 Birth asphyxia and birth trauma 2703
4 Breast cancer 2703
5 Cardiovascular diseases 2703
6 Cataracts 2703
7 Cerebrovascular disease 2703
8 Childhood-cluster diseases 2703
9 Chronic obstructive pulmonary disease 2703
10 Cirrhosis of the liver 2703
# … with 183 more rows
We have traced some of the leading causes of death in Luxembourg over the years. From the plot, we can see that the number of deaths is quite high for the non-communication disease.
Deaths from cardiovascular diseases and malignant diseases are steadily declining. This can be attributed to improved sanitation infrastructure.
Malignant diseases, on the other hand, seemed low in the years 2004, then there was a surge around 2005 until 2021. This may be due to large outbreaks of malignant diseases or may be due to the age effect of the population.
Because the Luxembourg population was aging at a certain time.
Now we know the biggest cause of death which is the non-communicate diseases. Then we should visualize. this cause to mortalize by age category. In order to see which age bracket is the most affected.
#Number of deaf by noncommunicatif desease by cat age
Here we plot the number of deaths from non-communication diseases for different age groups. From the graph, we can understand that the number of deaths due to non_communication issues is maximum for the age groups from 0 and also age groups between 54 and 74 years old. We also note that the number of deaths due to non-communication of illnesses is down slightly for the young population. The top no.
child deaths may be due to the fact that children of this age are not strong enough to resist this disease. It is noted that the number of deaths is also relatively higher among the elderly than among middle-aged adults. This may be the case with older people who do not have strong immunity against non-communication diseases.since we find that this disease has more effect on older people. So we can visualize how this disease causes mortality during the years 1960 to 2021.
## Warning: Ignoring unknown aesthetics: fill
Comparing the mortality cause by noncomminicate desase in Luxembourg to other country from 54 to 74
#Life experience in 2000 comparing the rest of the word in 2000(Map) with noncommunication desases
## # A tibble: 18,138 × 4
## region Code Year estimates_age
## <chr> <chr> <dbl> <dbl>
## 1 Afghanistan AFG 1956 78.9
## 2 Afghanistan AFG 1957 79.2
## 3 Afghanistan AFG 1958 79.6
## 4 Afghanistan AFG 1959 79.8
## 5 Afghanistan AFG 1960 80.0
## 6 Afghanistan AFG 1961 80.2
## 7 Afghanistan AFG 1962 80.4
## 8 Afghanistan AFG 1963 80.7
## 9 Afghanistan AFG 1964 81.2
## 10 Afghanistan AFG 1965 82
## # … with 18,128 more rows
#study cas of the mortality by noncommunicate deseas(Regression linear)
#Prediction for 2023